package com.bbu.javaexam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bbu.javaexam.domain.Admin;

import java.util.List;

/**
 * @author Alex
 * @version 1.0.0
 * @ClassName AdminService.java
 * @Description TODO
 */
public interface AdminService extends IService<Admin> {
    List<Admin> findAll();

    Admin findById(Integer adminId);

    int deleteById(int adminId);

    int update(Admin admin);

    int add(Admin admin);
}
